package com.androway.domains;

import java.util.Date;

import com.google.gson.annotations.Expose;

public class News extends AbstractPersistentObject
{
	@Expose
	private String		title;
	@Expose
	private String		content;
	@Expose
	private Date		creationDate;
	@Expose
	private Date		lastUpdateDate;
	@Expose
	private boolean		visible;
	@Expose
	private User		author;
	@Expose
	private Category	category;
	private School		school;

	public String getTitle()
	{
		return this.title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getContent()
	{
		return this.content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public Date getCreationDate()
	{
		return this.creationDate;
	}

	public void setCreationDate(Date creationDate)
	{
		this.creationDate = creationDate;
	}

	public Date getLastUpdateDate()
	{
		return this.lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate)
	{
		this.lastUpdateDate = lastUpdateDate;
	}

	public boolean isVisible()
	{
		return this.visible;
	}

	public void setVisible(boolean visible)
	{
		this.visible = visible;
	}

	public User getAuthor()
	{
		return this.author;
	}

	public void setAuthor(User author)
	{
		this.author = author;
	}

	public Category getCategory()
	{
		return this.category;
	}

	public void setCategory(Category category)
	{
		this.category = category;
	}

	public School getSchool()
	{
		return this.school;
	}

	public void setSchool(School school)
	{
		this.school = school;
	}
}
